package com.open.capacity.study.dao;

import com.open.capacity.common.model.Stage;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface StageDao {
    int count(Integer tsysId);

    int insert(Stage stage);

    Stage findByCode(String code);

    int updateStatusByCode(Stage stage);

    Stage findByTitle(Stage stage);

    int updateByCode(Stage stage);

    int total(Map<String, Object> params);

    List<Stage> findList(Map<String, Object> params);
}
